package com.jiyun.client;

import com.jiyun.entity.Capacity;
import com.jiyun.pojo.MyResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("wangpancapacity")
@RequestMapping("/wangpancapacity/capacity")
public interface CapacityClient {



    @RequestMapping("/findByUid")
    public MyResult findByUid(@RequestParam("uid") Integer uid);
    @RequestMapping("/update")
    public void updateCapacity(@RequestBody Capacity capacity);

}
